package www.com.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.stereotype.Repository;

import java.util.Date;

@Repository
@Data
@TableName("user")
public class User {

    @TableId(type = IdType.AUTO)
    private String id;
    @TableField("userName")
    private  String userName;
    @TableField("passWord")
    private  String passWord;

    private  String avatar;
    @TableField("createTime")
    private Date createTime;
}
